#ifndef __GPIO_H__
#define __GPIO_H__

#include <FU68xx_6.h>

#define PWMPin 				    GP11

#define LEDPin			 	    GP10
#define SetLEDPin			    GP10 = 1
#define ResetLEDPin			    GP10 = 0
#define LEDPinONOFF			    GP10 = ~GP10

#define SetPower_LEDPin			{GP11 = 1;}
#define ResetPower_LEDPin		{GP11 = 0;}

#define SetSpeed_LEDPin			{GP01 = 1;}
#define ResetSpeed_LEDPin		{GP01 = 0;}

#define SetYaoTou_LEDPin		{GP21 = 1;}
#define ResetYaoTou_LEDPin		{GP21 = 0;}


#define PWM1					GP34
#define PWM2					GP33

#define Key_YaoTou 				GP14
#define Key_Power_Speed 		GP16

#define	BUZZERPin               GP12
#define SetBUZZERPin            {BUZZERPin = 1;}
#define ResetBUZZERPin          {BUZZERPin = 0;}


#define FPin 				    GP00
#define SetFGPin			    {GP00 = 1;}
#define ResetFGPin		        {GP00 = 0;}
#define FPinONOFF               {GP00 = ~GP00;}

/*************************************************************************************///External Function
extern void GPIO_Init(void);

#endif
































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































